﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EmailTemplateMasterModify.aspx.cs" Inherits="Admin_ActivityTypeModify" MasterPageFile="~/MasterPages/AdminMaster.master" ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <style>
       .maintitle {
           font-size: large;
           font-weight: bold;
       } 
       .auto-style1 {
           height: 17px;
           }
       .auto-style2 {
        }
       .auto-style3 {
           height: 18px;
           }
       .auto-style4 {
            height: 17px;
        }
    .auto-style5 {
        }
    .auto-style6 {
        height: 18px;
    }
    .auto-style7 {
        height: 125px;
    }
    .auto-style8 {
        height: 125px;
    }
        </style>
     <table style="width: 100%" id="TABLE2" cellspacing="1" cellpadding="1" border="0">
                <tbody>
                    <tr>
                        <td colspan="2" style="text-align: left;"><asp:ScriptManager ID="ScriptID" runat="server"></asp:ScriptManager>
                            <asp:Label ID="lblTitle" runat="server" Font-Size="30px" Text="Add Email Template Master"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                      <td colspan="2" style="text-align: left;"></td>
                    </tr>
                    <tr>
                        <td align="right" class="auto-style4">
                        </td>
                        <td class="auto-style1">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td align="right" class="auto-style4">
                        </td>
                        <td class="auto-style1">
                        
                    <asp:Label ID="lblMessage" runat="server" Font-Bold="True" ></asp:Label></td>
            </tr>
                     <tr>
                        <td align="right" class="auto-style4">&nbsp;
                        </td>
                        <td class="auto-style1">&nbsp;
                        &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="right" width="30%" class="auto-style5">
                            Email Subject &nbsp;<font color="red">*</font>&nbsp;&nbsp;:&nbsp;&nbsp;
                        </td>
                        <td width="70%" class="auto-style2">
                           &nbsp;&nbsp;
                            <asp:TextBox ID="txtActivityTypeName" runat="server" Width="220px" MaxLength="50"></asp:TextBox>&nbsp; <asp:RequiredFieldValidator ID="reqLanguageName"  ControlToValidate="txtActivityTypeName" runat="server" ErrorMessage="Enter Email Subject." ForeColor="Red" ></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="auto-style5">
                            Activity &nbsp;<font color="red">*</font>&nbsp;&nbsp;:&nbsp;&nbsp;
                        </td>
                        <td class="auto-style2">
                           &nbsp;&nbsp;
                            <asp:DropDownList ID="activitydropdownlist" runat="server" Width="220px" MaxLength="50" DataValueField="ActivityName"></asp:DropDownList>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:RequiredFieldValidator ID="RequiredFieldValidator5"  ControlToValidate="activitydropdownlist" runat="server" ErrorMessage="Select Any Activity." InitialValue="--Select--" ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                  
                    <tr>
                        <td align="right" class="auto-style5">
                            Email To &nbsp;<font color="red"></font>&nbsp;&nbsp;:&nbsp;&nbsp;
                        </td>
                        <td class="auto-style2">
                            &nbsp;&nbsp;
                            <asp:TextBox ID="TextBox2" runat="server" Width="220px" MaxLength="50"></asp:TextBox>&nbsp; <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator2"  ControlToValidate="TextBox2" runat="server" ErrorMessage="Enter Email To." ForeColor="Red"></asp:RequiredFieldValidator>--%>
                        <asp:RegularExpressionValidator ID="revEmail" runat="server" ErrorMessage="Please enter in email format." ControlToValidate="TextBox2" SetFocusOnError="true" 
                            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ForeColor="red"  Display="Dynamic"></asp:RegularExpressionValidator> </td>
                    </tr>
                    <tr>
                        <td align="right" class="auto-style5">
                            Email Bcc &nbsp;<font color="red"></font>&nbsp;&nbsp;:&nbsp;&nbsp;
                        </td>
                        <td class="auto-style2">
                            &nbsp;&nbsp;
                            <asp:TextBox ID="TextBox3" runat="server" Width="220px" MaxLength="50"></asp:TextBox>&nbsp; <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator3"  ControlToValidate="TextBox3" runat="server" ErrorMessage="Enter Email Bcc." ForeColor="Red"></asp:RequiredFieldValidator>--%>
                       <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Please enter in email format." ControlToValidate="TextBox3" SetFocusOnError="true" 
                            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ForeColor="red"  Display="Dynamic"></asp:RegularExpressionValidator> </td> 
                    </tr>
                    <tr>
                        <td align="right" class="auto-style5">
                            Email Cc &nbsp;<font color="red"></font>&nbsp;&nbsp;:&nbsp;&nbsp;
                        </td>
                        <td class="auto-style2">
                            &nbsp;&nbsp;
                            <asp:TextBox ID="TextBox4" runat="server" Width="220px" MaxLength="50"></asp:TextBox>&nbsp; <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator4"  ControlToValidate="TextBox4" runat="server" ErrorMessage="Enter Email Cc." ForeColor="Red" ></asp:RequiredFieldValidator>--%>
                       <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ErrorMessage="Please enter in email format." ControlToValidate="TextBox4" SetFocusOnError="true" 
                            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ForeColor="red"  Display="Dynamic"></asp:RegularExpressionValidator> </td>
                    </tr>
                        <tr>
                        <td align="right" class="auto-style5">
                            Is Active&nbsp; &nbsp;&nbsp;:&nbsp;&nbsp;
                        </td>
                        <td class="auto-style2">
                            &nbsp;&nbsp;
                            <asp:CheckBox ID="chkIsactive" runat="server" /> 
                         </td>
                    </tr>
                      <tr>
                        <td align="right" class="auto-style7">
                            Email Template Text &nbsp;<font color="red">*</font>&nbsp;&nbsp;:&nbsp;&nbsp;
                        </td>
                        <td class="auto-style8">
                            &nbsp;&nbsp; 
                            <%--<textarea id=""  rows="2" runat="server" ></textarea>--%>
                        <asp:TextBox ID="EmailTemplateText" TextMode="MultiLine" MaxLength="4000" Height="250px" Width="695px"  runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ForeColor="Red"  ControlToValidate="EmailTemplateText" runat="server" ErrorMessage="Enter Email Template Text." ></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                 <%--    <tr>
                        <td style="width: 45%" align="right">
                            Country &nbsp;<font color="red">*</font>
                        </td>
                        <td style="width: 1%">
                        </td>
                        <td style="width: 54%">
                            <asp:TextBox ID="txtCountry" runat="server" Width="220px" MaxLength="50">
                            </asp:TextBox>
                            <asp:RequiredFieldValidator ID="ReqCountry" runat="server" ControlToValidate="txtCountry"
                                SetFocusOnError="true" Display="None" ErrorMessage="Country Cannot be Blank !!!">
                            </asp:RequiredFieldValidator>
                            <cc1:ValidatorCalloutExtender ID="valCountry" runat="server" TargetControlID="ReqCountry">
                            </cc1:ValidatorCalloutExtender>
                        </td>
                    </tr>--%>
                    <%-- <tr>
                        <td style="width: 45%" align="right">
                            Bank Account ID &nbsp;<font color="red">*</font>
                        </td>
                        <td style="width: 1%">
                        </td>
                        <td style="width: 54%">
                            <asp:TextBox ID="txtbankaccountID" runat="server" Width="220px" MaxLength="50">
                            </asp:TextBox>
                            <asp:RequiredFieldValidator ID="ReqbankaccountID" runat="server" ControlToValidate="txtbankaccountID"
                                SetFocusOnError="true" Display="None" ErrorMessage="Bank Account ID Cannot be Blank !!!">
                            </asp:RequiredFieldValidator>
                            <cc1:ValidatorCalloutExtender ID="valbankaccountID" runat="server" TargetControlID="ReqbankaccountID">
                            </cc1:ValidatorCalloutExtender>
                        </td>
                    </tr>--%>
                 
                        <tr>
                            <td align="right" class="auto-style6"></td>
                            <td class="auto-style3"></td>
                        </tr>
                 
                        <tr>
                            <td align="right" class="auto-style6">&nbsp;</td>
                            <td class="auto-style3">
                                <asp:Button ID="btnSave" runat="server" OnClick="btnSave_OnClick"  SkinID="buttonSkin" Text="Save" />
                                &nbsp;&nbsp;
                                <asp:Button ID="btnCancel" runat="server" CausesValidation="false" OnClick="btnCancel_OnClick" SkinID="buttonSkin" Text="Cancel" />
                            </td>
                        </tr>
                        <tr>
                            <td align="right" colspan="2" style="height: 30px; text-align: center">
                                &nbsp; &nbsp;
                                </td>
                        </tr>
                        <tr>
                            <td align="right" colspan="2" style="height: 30px; text-align: center">
                             </td>
                        </tr>
                </tbody>
            </table>




</asp:Content>

